package com.wooming.studentinfosystem.util;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.List;

/**
 * 分页结果封装类
 *
 * @param <T> 视图类(VO)
 * @author wooming
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class PageResult<T> {
    private List<T> list;
    private Integer total;
    private Integer pageNum;
    private Integer pageSize;
}
